﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package xrz.cuanbao.alipay;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public final class Keys {

	//合作身份者id，以2088开头的16位纯数字
	public static final String DEFAULT_PARTNER = "2088121632880878";

	//收款支付宝账号
	public static final String DEFAULT_SELLER = "bd@cuan-bao.com";

	//商户私钥，自助生成
	public static final String PRIVATE = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJkRPpOkBcbw2gLc0LkpvfathOYCQvAhCM21Klo7uTZDUBfppywrlAhZ2HtQjfHHU+4K0TGUvW0TUc5L041n1Fjr/9ozQgyNa6iMQx4SzFVBqusIcdw8tukZDayXh80fHYyBGb8Uq2ydkxSWJjcZtAo2b50MURQZ1tNORwaPoU8lAgMBAAECgYEAmFys8GN9iKhoKh9I+HcPa0MPnbA0lzgavkCOFuGKG/Rm/laLHBGIucNNFHp7wGZMKg/EadkHsVJgxLt/qirnF84/0iD+dwlnuwgL9nLikprIvwyElH0vh3Erz94Hnwp5ck8ET1SLufyaj9/kKdD+aiCg3n2xfXPgkt4tDd3ll2ECQQDH1GIPDIAdGqgRi1zgcTdAmvG+/euyPap4D2xyXb/BeTtr2W0hke9T3UqLXpN80F4qxg/FZ8C7Tx9IZP4jpkdZAkEAxBfgul2BY3QcUq2u2/J/gVh0rUSr9RGPFuWgJzT3IGXR0SahZaggdz3GdBtxcL2IFFS/clZnec2+oZs1GpDYrQJBAKN5ndbN1Sj6G7BuoEaEmDzkBQzIUb95LzIU/BT7mNnAQdpS/zJNXsru6ALoFiQvmjnH2jMWU9doPSFObZHgf9ECQEzSefUpKsaWt33gk0+R2kgHKnazH5b8EQ3MWgjiJCrqGOASfUqBKm7sobHdCn07k3M7nGEj3pgGdbeEQbKtqmUCQByf/zLlIVwzlL8nkqf8FWi0Mv0pk14jlnyAl3ATUJ7vwAQtLxdV0zeU8Ng08J2BQuVbYYC+wCZBNZqJlD0hUdg=";

	public static final String PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZET6TpAXG8NoC3NC5Kb32rYTmAkLwIQjNtSpaO7k2Q1AX6acsK5QIWdh7UI3xx1PuCtExlL1tE1HOS9ONZ9RY6//aM0IMjWuojEMeEsxVQarrCHHcPLbpGQ2sl4fNHx2MgRm/FKtsnZMUliY3GbQKNm+dDFEUGdbTTkcGj6FPJQIDAQAB";

	//超时时间
	public static final String TIME_OUT = "30m";
	//支付宝通知的网站
	public static final String NOTIFY_URL = "http://115.28.57.216/lvyou/notify_url.php";

}
